
/** \file   common_i2c.c
 *
 *  \brief  This file contains I2C driver wrappers prototypes implemented for Applications
 *
 *   Note: N/A
 *
 *  \author     Jiawei Xie
 *
 *  \version    0.1   Created newly for NAVCON
 */

#ifndef _COMMON_I2C_H_
#define _COMMON_I2C_H_

#ifdef __cplusplus
extern "C"
{
#endif

int i2cRead(GIO_Handle i2c_inHandle,  unsigned int deviceId, unsigned char *data, unsigned int len, unsigned int flag);
int i2cWrite(GIO_Handle i2c_outHandle,  unsigned int deviceId, unsigned char *data, unsigned int len, unsigned int flag);

#ifdef __cplusplus
}
#endif /* extern "C" */


#endif
